</div>
</div>
<script type="text/javascript">
(function($) {
	$(function(){
		form = $('form.crud');
		
		$('input[name="title"]', form).keyup(function(){
			$.post(BASE_URL + 'admin/ajax/url_title', { title : $(this).val() }, function(slug){
				$('input[name="slug"]', form).val( slug );
			});
		});
	});
})(jQuery);
</script>
<div id="footer">Copyright &copy; <a href="<?=base_url()?>">idt.vn</a></div>
</body>
</html>